<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>

<script type="text/javascript" src="js/jquery-1.8.3.min.js"></script>
<script type="text/javascript" src="js/vue.js"></script>
<script type="text/javascript" src="laypage/laypage.js"></script>
</head>
<body>
	<div id="main">
		<form id="fm">
			学院：<select @change="showmajor()" id="coll"
				name="tc.t_major.t_coll.collId">
				<option value="0" selected="selected">请选择学院</option>
				<option v-for="coll in home" :value="coll.collId">{{coll.collName}}</option>
			</select><br> 专业名：<select @change="showclass()" id="major"
				name="tc.t_major.majorId">
				<option value="0" selected="selected">请选择专业</option>
				<option v-for="major in majorlist" :value="major.majorId">{{major.majorName}}</option>
			</select><br> 学号：<input type="text" name="stuId" style="width: 120px;" /><br>
			学生姓名：<input type="text" name="stuName" style="width: 120px;" /><br>
			入学日期：<input type="text" name="enrolmentTime" style="width: 120px;" /><br>
			联系电话：<input type="text" name="phone" style="width: 120px;" /><br>
			<input type="button" value="查询" @click="stu(1)">&nbsp;&nbsp;<input
				type="button" value="注册新学员">&nbsp;&nbsp;
		</form>
	</div>
	<hr>
	<form>
		<div id="mm">
			<table>
				<tr>
					<td><input id="allbox" type="checkbox" @click="changeAllChecked()"/>    </td>
					<td width="50">序号</td>
					<td width="200">学院名称</td>
					<td width="150">专业名称</td>
					<td width="180">学号</td>
					<td width="120">姓名</td>
					<td width="120">年级</td>
					<td width="120">班级</td>
					<td width="120">入学日期</td>
					<td width="120">联系电话</td>
				</tr>
	<tbody>
				<tr v-for="(stu,index) in stulist">
					<td><input type="checkbox" :value="stu.stuId" name="stuno"/></td>
					<td >{{index+1}}</td>
					<td >{{stu.tc.t_major.t_coll.collName}}</td>
					<td >{{stu.tc.t_major.majorName}}</td>
					<td >{{stu.stuId}}</td>
					<td >{{stu.stuName}}</td>
					<td >{{stu.grade}}</td>
					<td >{{stu.tc.className}}</td>
					<td >{{stu.enrolmentTime}}</td>
					<td >{{stu.phone}}</td>
				</tr>
			</table>
	</tbody>
			<div id="page"></div>
			<input type="button" value="批量删除" @click="del()">
	</form>
	</div>

	<script type="text/javascript" src="js/stu.js"></script>
</body>
</html>